<%-- 
    Document   : user_form
    Created on : Aug 1, 2013, 6:47:20 AM
    Author     : fikri
--%>

<%@ include file="/WEB-INF/jsp/include/page_header.jspf" %>
<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE html>

<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>Pertanyaan Pengguna</title>
    
        <style>
  
            .boxed {
                border: 1px dashed #3d9f3b;
                padding-left: 20px;
                padding-bottom: 10px;
                padding-top: 10px;
                width: 650px;
                background-color: #d5fbd5;
                font-size: 10pt;
             }
        </style>
    </head>
    <body>
        <s:form beanclass="th.stripes.action.THCCActionBean" class="niceform">

            <div id="content">
                <div id="logo">
                    <span>
                        <img src="${pageContext.request.contextPath}/images/img/ribbon.png"/>               
                    </span>
                </div>
                <h3>
                    Pertanyaan Pengguna
                </h3>

                <s:errors/>
                <p>
                    <label>No. Akaun TH :</label>
                            <s:text name="noAkaun" id="noAkaun"/>
                </p>   
                <p>
                    <label>No. KP Semasa :</label>
                            <s:text name="noPengenalan" id="noPengenalan"/>

                </p>
                <p align="center">
                    <s:submit name="searchUser" value="Semak" class="button green button_blockUI"/>                    
                </p>                
            </div>
                <c:if test="${!empty actionBean.pengguna}">
                    <div class="boxed">

                        <p>
                            <label><b>ID Pengguna :</b></label>
                            ${actionBean.pengguna.idPengguna}
                        </p>
                        <p>
                            <label><b>Nama :</b></label>
                            ${actionBean.pengguna.nama}
                        </p>
                        <p>
                            <label><b>Status :</b></label>
                            <c:if test="${fn:contains(actionBean.pengguna.active,'Y')}">Aktif</c:if>
                            <c:if test="${fn:contains(actionBean.pengguna.active,'N')}">Tidak Aktif/ Akaun Disekat</c:if>
                            </p>

                        </div>
                </c:if>
        </s:form>
    </body>
</html>
